/*******************************************************************************
 * Copyright (c) 2010, 2030 www.mahao.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.proxy;

/** 
 * ClassName: UserDaoProxy <br/> 
 * Function: TODO 功能描述 <br/> 
 * date: 2017年6月6日 上午11:03:22 <br/> 
 * 
 * @author Mmmmm 
 * @version  
 * @since JDK 1.8 
 */
public class UserDaoProxy implements UserDao {

	private UserDao target;
	
	/**
	 * @param target
	 */
	public UserDaoProxy(UserDao target) {
		this.target = target;
	}

	@Override
	public void save(String name) {
		System.out.println("[日志]--Start");
		target.save(name);
		System.out.println("[日志]--End");
		
	}

}
